<?php
$sql_ofertant=mysql_query("select name,id from users where user='".$_SESSION['_user']."'");
list($ofertant,$user_id)=mysql_fetch_array($sql_ofertant);
?>
<div id="user">NUME: <strong><?=$ofertant?></strong></div>
<div id="menu"><div><div>    
    <ul> 
        <li <? if ($location=='users'){?>  id="off" <?}?> ><a href="<?=srvurl?>users.php">USERS</a></li>
        <li <? if ($location=='setari'){?>  id="off" <?}?> ><a href="<?=srvurl?>locatii.php">SETARI</a></li>
        <li <? if ($location=='date_user'){?>  id="off" <?}?>><a href="<?=srvurl?>date_user.php">DATE AGENT </a></li>
        <li <? if ($location=='oferte'){?>  id="off" <?}?>><a href="<?=srvurl?>adauga_oferta.php">OFERTE </a></li>
        <li <? if ($location=='mesaje'){?>  id="off" <?}?>><a href="<?=srvurl?>mesaje.php">MESAJE</a></li>
        <li <? if ($location=='agenda'){?>  id="off" <?}?>><a href="ag_view.php" >AGENDA</a></li>
          <li><a href="<?=srvurl?>logout.php">LOGOUT</a></li>
    </ul>
</div></div></div>

</div>